package shiyl.use.springboot.requestparam.controller;

import java.util.HashMap;
import java.util.Map;

/**
 * Controller助手类
 * @author shiyl
 */
public class ControllerHelper {

    public static Map<String, String> createResponseMap(){
        Map<String, String> b =  new HashMap<>();
        b.put("description", "收到以下参数");
        return b ;
    }

    public static Map<String, Object> createResponseMapObject(){
        Map<String, Object> b =  new HashMap<>();
        b.put("description", "收到以下参数");
        return b ;
    }
}
